package ooday02.homework;

public class Dog extends Animal{
    public Dog(){

    }
    public Dog(String name,int age,String color){
        super(name, age, color);
    }

    public void lookHome(){
        System.out.println(getColor()+"的"+getAge()+"岁的狗狗"+getName()+"在看家");
    }
    @Override
    public void eat(){
        System.out.println(getColor()+"的"+getAge()+"岁的狗狗"+getName()+"在吃骨头");
    }
}
